<?if(!TAG && MEMBER):?>
<div id="tags">
    <h2><span><?=dgettext('tag','Tags / Interests')?></span></h2>
    <div id="addTag">
        <div class="formLineLight">
            <span class="input"><input id="tag" name="tag" class="italic" value="<?=dgettext('tag','write an interest..')?>" /></span>
            <a id="add-tag-button"><?=dgettext('tag','Add')?></a>
            <span class="clear"></span>
        </div>
    </div>
    <div class="clear"></div>
    <div id="tagContainer">
        <? if($data->tag->list) foreach($data->tag->list as $i): ?>
        <span id="tag<?=$i->ID?>" class="tag">
            <a class="name" href="/tag/<?=$i->tag?>"><?=$i->tag?></a>
            <a class="remove" href="javascript:removeTag('<?=$i->ID?>');">-</a>
        </span>
        <? endforeach; ?>
    </div>
    <div class="clear"></div>
</div>
<?endif;?>